package com.cloudbroker.bcs.platform.dav.bizapi.service.export.vo.request;

import com.cloudbroker.bcs.common.validatioin.annotation.Length;
import com.cloudbroker.bcs.common.validatioin.annotation.NotBlank;
import com.cloudbroker.bcs.platform.dav.bizapi.service.base.vo.HSBCPSVO;


public class GetWeiboAccessTokenForm extends HSBCPSVO {
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 1L;
    protected String grant_type;
    protected String client_id;
    protected String client_secret;
    @NotBlank
    @Length(max = 64)
    protected String code;
    protected String redirect_uri;

    public String getRedirect_uri() {
		return redirect_uri;
	}

	public void setRedirect_uri(String redirect_uri) {
		this.redirect_uri = redirect_uri;
	}


    public GetWeiboAccessTokenForm putAppid(String client_id) {
        this.client_id = client_id;
        return this;
    }

    public String getGrant_type() {
        return grant_type;
    }

    public GetWeiboAccessTokenForm putGrant_type(String grant_type) {
        this.grant_type = grant_type;
        return this;
    }


    public GetWeiboAccessTokenForm putSecret(String client_secret) {
        this.client_secret = client_secret;
        return this;
    }

    public String getCode() {
        return code;
    }

    public GetWeiboAccessTokenForm putCode(String code) {
        this.code = code;
        return this;
    }


    public void setCode(String code) {
        this.code = code;
    }

    public void setGrant_type(String grant_type) {
        this.grant_type = grant_type;
    }


	public String getClient_id() {
		return client_id;
	}

	public void setClient_id(String client_id) {
		this.client_id = client_id;
	}

	public String getClient_secret() {
		return client_secret;
	}

	public void setClient_secret(String client_secret) {
		this.client_secret = client_secret;
	}
    
}
